import request from '@/utils/request'

export function getPages(params) {
  return request({
    url: '/admin/pages',
    method: 'get',
    params: params
  })
}

export function updatePages(params) {
  return request({
    url: '/admin/pages',
    method: 'put',
    data: params
  })
}
